#include "ShipBombMonitor.h"

using namespace view;

ShipBombMonitor::ShipBombMonitor(void) : SDLProgressMonitor()
{
}

ShipBombMonitor::ShipBombMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

ShipBombMonitor::~ShipBombMonitor(void)
{
}

void ShipBombMonitor::update(Observable* shipBombProperty)
{
	ShipBombProperty* shipBomb = static_cast<ShipBombProperty*>(shipBombProperty);
	currentProgress = shipBomb->getProgress();
}
